import request from '@/utils/request'

export const loginConnection = (data: any) => {
    return request({
      method: 'post',
      url: `/api/mini-library/user/login`,
      data,
    })
  }

  export const loginout = () => {
    return request({
      method: 'post',
      url: `/api/mini-library/user/loginout`,
    })
  }



  export const getCluster = (params: any) => {
    return request({
      method: 'get',
      url: `/api/v1/overview/clusters`,
      params,
    })
  }